package com.zjy.org.domain;

import com.zjy.basic.domain.BaseDomain;
import com.zjy.system.domain.Menu;
import com.zjy.system.domain.Role;
import lombok.Data;

import java.util.List;

@Data
public class Employee extends BaseDomain {
    //员工名称
    private String username;
    //员工电话
    private String phone;
    //员工邮箱
    private String email;
    //盐值
    private String salt;
    //密码
    private String password;
    //年龄
    private Integer age;
    //员工状态 - 1启用，0禁用
    private Integer state;
    //所属部门ID
    private Long department_id;
    //登录信息ID
    private Long logininfo_id;
    //店铺ID
    private Long shop_id;
    //
    private Department department;
    //所属角色
    private Long role_id;
    //员工的菜单
    private List<Menu> menu;
}
